package com.yan.dao.entity;

import lombok.Data;

import java.io.Serializable;

@Data
public class SuggestBuy implements Serializable{
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private int id;
	private int sid;
	private String bname;
	private String author;
	private String edition;
	private int status;
	private int sunum;
	private String sname;
	// 检索开始行
	private int start;
	// 当前页的数值
	private int currentPage;
	
	public SuggestBuy() {
		super();
	}
	
	public SuggestBuy(int id, int sid, String bname, String author, String endition, int status, int sunum) {
		super();
		this.id = id;
		this.sid = sid;
		this.bname = bname;
		this.author = author;
		this.edition = endition;
		this.status = status;
		this.sunum = sunum;
	}

	@Override
	public String toString() {
		return "SuggestBuy [id=" + id + ", sid=" + sid + ", bname=" + bname + ", author=" + author + ", endition="
				+ edition + ", status=" + status + ", sunum=" + sunum + ", start=" + start + ", currentPage="
				+ currentPage + "]";
	}

}
